package com.tianji.learning.query;

import com.tianji.common.domain.query.PageQuery;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
public class PointsRecordPageQuery extends PageQuery {
    private LocalDate date;


    public PointsRecordPageQuery(int page, int size, LocalDate date) {
        super(page, size); // 调用父类构造器
        this.date = date; // 设置子类自己的属性
    }
}
